home *** CD-ROM | disk | FTP | other *** search
- Path: indian-15.vf.pond.com!user
- From: tkuntz@pond.com (Tim Kuntz)
- Newsgroups: comp.lang.c
- Subject: Re: iHelp! Dumb question for smart THINK C users.
- Date: Mon, 22 Jan 1996 15:02:14 -0400
- Organization: FishNet
- Message-ID: <tkuntz-2201961502140001@indian-15.vf.pond.com>
- References: <stlabguest-2001961601280001@pm71001.scilab.wesleyan.edu>
- NNTP-Posting-Host: indian-15.vf.pond.com
-
- In article <stlabguest-2001961601280001@pm71001.scilab.wesleyan.edu>,
- stlabguest@wesleyan.edu (STLab Public Access Macintosh) wrote:
-
- > I'm a total newbie to C programming, but I got a copy of THINK C yesterday
- > and decided to try to learn. So I tried a very simple program:
- >
- > #include <STDIO.h>
- > main()
- > {
- > printf( "bla" );
- > }
- >
- > It compiled without any errors, but when I tried to run it, it said that
- > there was a link error: it didn't know what "prinf" meant. I'm sure that
- > it was loading the "STDIO.h" properly, because I changed the program to:
- >
- Did you load the ANSI file from the Standard Libraries section of the
- THINK C folder? I am also a total newbie but I just did the exercise you
- are trying to do and the part you didn't mention was loading that libary.
-
- Under Source - Add Files - Scroll around until you find Standard Libraries
- and Add ANSI. Click Done and now run the program.
-
- Good luck - Tim Kuntz
-